﻿namespace TestModel.Model
{
    public class Person
    {
        public int ID { get; set; }
        public string Name { get; set; }
        public int Age { get; set; }
        public Person(int id, string name, int age)
        {
            ID = id; Name = name; Age = age;
        }

        public override string? ToString()
        {
            return $"ID={ID},Name={Name},Age={Age}";
        }
    }
}
